<%--
  Created by IntelliJ IDEA.
  User: fire'ge
  Date: 2022/5/3
  Time: 18:10
  To change this template use File | Settings | File Templates.
--%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page contentType="text/html;charset=UTF-8" isELIgnored="false" %>
<html>
<head>
    <title>投诉请求</title>
    <link rel="stylesheet" href="/TakeawaySystem/css/Show.css" type="text/css">
</head>
<body>
<table>
    <tr>
        <td id= "tableTopic">
            投 诉 请 求
        </td>
    </tr>
    <c:if test="${complaints.size()>0}">
    <c:forEach begin="0" end="${complaints.size()-1}" var="i">
            <tr>
                <td>
                    用户名：${users[i].username}<br>
                        申述内容：${complaints[i].text}
                </td>
                <td>
                    <a href="deleteComplaint?complaintId=${complaints[i].id}">删 除</a>

                </td>
            </tr>

    </c:forEach>
    </c:if>
</table>
</body>
</html>
